package org.linlinjava.litemall.wx.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.linlinjava.litemall.db.domain.LitemallCollectAccessory;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * wx收集dto
 *
 * @author yliyun
 * @description：收藏Dto
 * @date 2022/10/28
 */
@Data
@ApiModel("收藏Dto")
public class WxCollectDTO {


    /**
     * 商品id
     */
    @ApiModelProperty("商品id")
    @NotNull
    private Integer goodsId;
    /**
     * 规范标识
     */
    @ApiModelProperty("规范标识")
    @NotNull
    private Integer[] specificationIds;
    /**
     * 属性值
     */
    @ApiModelProperty("属性值")
    @NotNull
    private String[] propertyValues;
    private List<LitemallCollectAccessory> accessories;
}
